FROM java:8
MAINTAINER liukang
LABEL app="huishui-irrigated-drainage" version="0.0.1" by="liukang"
EXPOSE 10001

VOLUME /tmp
ADD huishui-base-irrigation-drainage-0.0.1-SNAPSHOT.jar app.jar
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]